﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DSC
{
    public static class Encrypt
    {
        public static string FEncrypt(string input)
        {
            return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(input));
        }
        public static string FDecrypt(string input)
        {
            return System.Text.Encoding.UTF8.GetString(Convert.FromBase64String(input));
        }
    }
}
